package com.example.javaserve.enums;

public enum DifficultyEnum {
    SIMPLE(0,"简单"),
    HARD(1,"困难");
    private Integer code;
    private String value;

    DifficultyEnum(Integer code,String value){
        this.code = code;
        this.value = value;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
